package com.flea.hclv.service;

import com.flea.hclv.model.entity.HLine;
import com.flea.hclv.model.entity.HSubmitAccount;
import com.flea.hclv.util.ServerResponse;
import com.flea.system.bean.FleaPage;

import java.util.Map;

public interface HSubmitAccountService {
    ServerResponse<HLine> save(String userId, String model);

    ServerResponse<Map<String,Object>> selectByGroupId(String groupId);
    HSubmitAccount findByGroupId(String groupId);

    ServerResponse<HSubmitAccount> selectEntityByGroupId(String groupId);

    ServerResponse<FleaPage<HSubmitAccount>> selectByCreateUser(String userId, int curPage, int pageSize);

    ServerResponse<Map<String,Object>> selectById(String submitAccountId);

    ServerResponse<FleaPage<HSubmitAccount>> selectByDeptId(String deptUuid, int curPage, int pageSize);

    ServerResponse<HLine> selectLineByTravelGroupId(String travelGroupId);

    ServerResponse<HSubmitAccount> selectByTravelGroupIdAndPayDeptId(String travelGroupId,String payDeptId);
}
